package com.ruoyi.merchant.service.impl;

import com.ruoyi.merchant.service.MerchantService;
import com.ruoyi.system.domain.SysMerchantInfo;
import com.ruoyi.system.mapper.SysMerchantInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author X
 * @version 1.0
 * @ClassName MerchantServiceImpl
 * @description
 * @date 2020/11/10
 **/
@Service
public class MerchantServiceImpl implements MerchantService {
    @Autowired
    private SysMerchantInfoMapper sysMerchantInfoMapper;


    /***
     * 获取商家信息
     * @return
     */
    @Override
    public SysMerchantInfo getMerchantInfo() {
        SysMerchantInfo sysMerchantInfo = sysMerchantInfoMapper.getMerchantInfo();
        return sysMerchantInfo;
    }
}
